let sUserAgent = navigator.userAgent

// TODO : 完成设备判断
export function IsMobile() {

    console.log(sUserAgent)
    if (sUserAgent.indexOf('Android') > -1 || sUserAgent.indexOf('iPhone') > -1 || sUserAgent.indexOf('iPad') > -1 || sUserAgent.indexOf('iPod') > -1 || sUserAgent.indexOf('Symbian') > -1) {
        return true;
    } else { }
    return false;
}